package com.airnews.ticket.net.type;


public class RequestTotalOrder extends RequestData{
	public static final long serialVersionUID = 2489782776735085958L;

	private String orderNO	        ;//订单号
	private String trade_Nom	;//支付平台名称
	private String trade_No	;//支付交易号
	private String trade_State	;//支付交易状态
	private String trade_Info	;//支付交易信息
	private String officeID	;//经销商ID
	private String officeType	;//客户来源	
	private String userId	        ;//用户ID，预订人
	private String userType	;//用户类型
	private String accountInfo	;//账户信息 加密
//	private String orderTicketName	;//订票人姓名
//	private String orderTicketPhone;//订票人联系电话
	private String totalAmount	;//订单总额
	private String actualPayment;//实际支付金额
	private String orderState	;//订单状态
	private String orderSysop	;//系统操作员
	private String modifyTime;//修改时间
	private String remark	;//备注
	private String createTime	;//订单生成时间
	
	public String getOrderNO() {
		return orderNO;
	}
	public void setOrderNO(String orderNO) {
		this.orderNO = orderNO;
	}
	public String getTrade_Nom() {
		return trade_Nom;
	}
	public void setTrade_Nom(String trade_Nom) {
		this.trade_Nom = trade_Nom;
	}
	public String getTrade_No() {
		return trade_No;
	}
	public void setTrade_No(String trade_No) {
		this.trade_No = trade_No;
	}
	public String getTrade_State() {
		return trade_State;
	}
	public void setTrade_State(String trade_State) {
		this.trade_State = trade_State;
	}
	public String getTrade_Info() {
		return trade_Info;
	}
	public void setTrade_Info(String trade_Info) {
		this.trade_Info = trade_Info;
	}
	public String getOfficeID() {
		return officeID;
	}
	public void setOfficeID(String officeID) {
		this.officeID = officeID;
	}
	public String getOfficeType() {
		return officeType;
	}
	public void setOfficeType(String officeType) {
		this.officeType = officeType;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserType() {
		return userType;
	}
	public void setUserType(String userType) {
		this.userType = userType;
	}
	public String getAccountInfo() {
		return accountInfo;
	}
	public void setAccountInfo(String accountInfo) {
		this.accountInfo = accountInfo;
	}
	public String getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}
	public String getOrderState() {
		return orderState;
	}
	public void setOrderState(String orderState) {
		this.orderState = orderState;
	}
	public String getOrderSysop() {
		return orderSysop;
	}
	public void setOrderSysop(String orderSysop) {
		this.orderSysop = orderSysop;
	}
	
	/**
	 * @return the actualPayment
	 */
	public String getActualPayment() {
		return actualPayment;
	}
	/**
	 * @param actualPayment the actualPayment to set
	 */
	public void setActualPayment(String actualPayment) {
		this.actualPayment = actualPayment;
	}
	/**
	 * @return the modifyTime
	 */
	public String getModifyTime() {
		return modifyTime;
	}
	/**
	 * @param modifyTime the modifyTime to set
	 */
	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getRequestData() {
		StringBuffer sb = new StringBuffer();
		sb.append("<asoc:OrderInfoV1>")
		  	  .append("<asoc:OrderNo>").append(this.orderNO == null ? "" : this.orderNO).append("</asoc:OrderNo>")
			  //.append("<Trade_Nom>").append(this.trade_Nom == null ? "" : this.trade_Nom).append("</Trade_Nom>")
			  //.append("<Trade_No>").append(this.trade_No == null ? "" : this.trade_No).append("</Trade_No>")
			  .append("<asoc:Trade_State>").append(this.trade_State == null ? "0" : this.trade_State).append("</asoc:Trade_State>")
			  .append("<asoc:Trade_Info>").append(this.trade_Info == null ? "" : this.trade_Info).append("</asoc:Trade_Info>");
			  //.append("<OfficeID>").append(this.officeID == null ? "" : this.officeID).append("</OfficeID>")
			  //.append("<OfficeType>").append(this.officeType == null ? "" : this.officeType).append("</OfficeType>")
			  //.append("<UserID>").append(this.userId == null ? "" : this.userId).append("</UserID>")
//			  .append("<UserType>").append(this.userType == null ? "0" : this.userType).append("</UserType>")
//			  .append("<ActualPayment>").append(this.actualPayment == null ? "" : this.actualPayment).append("</ActualPayment>")
//			  .append("<ModifyTime>").append(this.modifyTime == null ? "" : this.modifyTime).append("</ModifyTime>");
//			  .append("<AccountInfo>").append(this.accountInfo == null ? "" : this.accountInfo).append("</AccountInfo>")
//			  .append("<TotalAmount>").append(this.totalAmount == null ? "" : this.totalAmount).append("</TotalAmount>")
//			  .append("<OrderState>").append(this.orderState == null ? "" : this.orderState).append("</OrderState>")
//			  .append("<OrderRemark>").append(this.orderRemark == null ? "" : this.orderRemark).append("</OrderRemark>")
//			  .append("<OrderSysop>").append(this.orderSysop == null ? "" : this.orderSysop).append("</OrderSysop>")
//			  .append("<CreateTime>").append(this.createTime == null ? "" : this.createTime).append("</CreateTime>");
		sb.append("</asoc:OrderInfoV1>");

		return super.getRequestData().replaceAll("</soapenv:Body>", sb.toString());
	}
	
	
}
